package yl.hs.bmipfull.pojo.flow;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  流程数据表实体类<br/>
 * 创建时间: 2021年06月23日 18时12分16秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "流程数据表", mapCode = "flow_data")
public class FlowDataEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "流程数据表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "FLDA")
    private String sn;
    /**
     * 流程编号
     */
    private String flowSn;
    /**
     * 当前节点编号
     */
    private String nodeSn;

    /**
     * 数据类型
     */
    private String dataType;
    /**
     * 数据链接
     */
    private String dataLink;
    /**
     * 流程执行状态
     */
    private Short state;
    /**
     * 数据编号
     */
    private String dataSn;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getFlowSn() {
        return this.flowSn;
    }

    public void setFlowSn(String flowSn) {
        this.flowSn = flowSn;
    }

    public String getNodeSn() {
        return this.nodeSn;
    }

    public void setNodeSn(String nodeSn) {
        this.nodeSn = nodeSn;
    }

    public String getDataType() {
        return this.dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataLink() {
        return this.dataLink;
    }

    public void setDataLink(String dataLink) {
        this.dataLink = dataLink;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getDataSn() {
        return this.dataSn;
    }

    public void setDataSn(String dataSn) {
        this.dataSn = dataSn;
    }

}